//退出
function quit(){
    sessionStorage.removeItem("login")
    sessionStorage.removeItem("userInfo")
    sessionStorage.removeItem("avatarSrc")
    sessionStorage.removeItem("commentInfo")
    sessionStorage.removeItem("currentPage")
    sessionStorage.removeItem("manageInfo")
    sessionStorage.removeItem("typeInfo")
    sessionStorage.removeItem("username")
    const res = confirm("确认退出吗?")
    if(res){
        location.href ="../html/login.html"
    }
}